package com.example.service;

import com.example.entity.SysRole;
import com.example.entity.User;

import java.util.List;

/**
 * @Author: John
 * @Date 2019/7/20 10:44
 */
public interface UserService {

    User getById(int id);

    User getByName(String userName);

    void insert(User user);

    List<User> getUsersByRoleID(int roleID);
}
